Skip to content

evals: add Codex Agent Runme harness - #345

Merged
jlewi merged 4 commits into
mainfrom
codex/agent-evals
Aug 30, 2026
Merged

evals: add Codex Agent Runme harness#345
jlewi merged 4 commits into
mainfrom
codex/agent-evals

Conversation

@jlewi

@jlewi jlewi commented Aug 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add a standalone Python eval harness that launches the Codex Agent build through the eval-control API
  • expand coverage from 3 baseline cases to 116 cases:
    • 100 redundant-confirmation trials across 10 prompt shapes
    • 4 direct-URI cases
    • 3 notebook tab-selection cases
    • 2 runner-enumeration cases
    • 4 kernel-selection cases
    • 3 baseline read/open/write cases
  • prepare leased Runme browser tabs and isolated Drive copies, assert exact tab ownership and tool evidence, and re-download Drive notebooks to verify persisted cells, runner metadata, exit codes, and output
  • checkpoint every case, resume interrupted runs, retry setup-only failures, and exclude infrastructure failures from product-failure metrics
  • launch every eval invocation with an isolated HOME, CODEX_HOME, XDG state, Git/npm state, SQLite directory, and Chromium profile; reuse only immutable toolchain caches and the explicitly selected Codex auth file
  • document setup, runtime inputs, focused/full execution, observed runtime, and a future isolated-worker parallelization design

This depends on the Agent eval-control support in openai/openai#1380813.

Test plan

  • python3 -m unittest evals/test_run.py — 26 tests passed
  • ruff check evals/codex_driver.py evals/run.py evals/test_run.py
  • python3 evals/run.py --list-cases — 116 cases with the expected category counts
  • runme run build test
  • GitHub CI:
    • test (ubuntu-latest) passed
    • run-app-tests passed
    • app-tests-pass passed

End-to-end results

  • redundant confirmation: 100 valid persisted writes, 0 redundant confirmations; 95% Wilson interval 0%–3.70%
  • remaining 16 cases: 11 passed, 5 reproduced failures
    • 3 unexpected_tab failures
    • 2 missing_tool_evidence failures where the Agent read runner UI instead of calling runmeRunners.get() and runmeRunners.getDefault()
  • kernel selection: 4/4 passed with persisted Drive evidence for appkernel-js-sandbox versus appkernel-js, completed execution, exit code 0, and expected output
  • measured confirmation-cohort case time: 1h 50m 49s; estimated healthy sequential 116-case runtime: 2h 15m–2h 30m including startup and cleanup

jlewi added 2 commits August 29, 2026 12:21
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 29, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-29T20:06:00.243149Z 58fc971 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 58fc971d67

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread evals/README.md
Comment thread evals/run.py
jlewi added 2 commits August 30, 2026 11:33
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
@jlewi
jlewi merged commit 743e7e6 into main Aug 30, 2026
3 checks passed
@jlewi
jlewi deleted the codex/agent-evals branch August 30, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant